package com.sf.mapper;

import com.sf.domain.Department;
import com.sf.domain.Employee;
import com.sf.qo.EmployeeQueryObject;
import com.sf.qo.QueryObject;

import java.util.List;

public interface DepartmentMapper {
    void deleteByPrimaryKey(Long id);
    void insert(Department department);
    void updateByPrimaryKey(Department department);
    Department selectByPrimaryKey(Long id);
    List<Department> selectAll();

    int selectForCount(EmployeeQueryObject qo);
    List<Department> selectForList(EmployeeQueryObject qo);


    Department get(Long id);
}
